package cc.jcizp.userservice.dao;

import cc.jcizp.userservice.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface UserDao {
//    User authentication(@Param("company_id") int company_id,@Param("user_name")String user_name,@Param("password")String password);
    User authentication(@Param("user") User user);
    int insertUser(@Param("user") User user);
    User findUserById(@Param("user") User user);
}
